package com.ruoyi.common.model.farmer.dto.resp;

import java.util.List;

/**
 * @author huixh
 */
public class FarmerSpecificationResp {
    private Long id;
    private String name;
    private int valueCount;
    private int sort;
    private List<SpecValue> values;

    // 以下是各属性的 getter 和 setter 方法
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getValueCount() {
        return valueCount;
    }

    public void setValueCount(int valueCount) {
        this.valueCount = valueCount;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public List<SpecValue> getValues() {
        return values;
    }

    public void setValues(List<SpecValue> values) {
        this.values = values;
    }

    // 表示规格中的具体值对象
    public static class SpecValue {
        private int id;
        private String value;
        private int sort;

        // 以下是各属性的 getter 和 setter 方法
        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getValue() {
            return value;
        }

        public void setValue(String value) {
            this.value = value;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }
    }

}

